<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<%@taglib uri="/struts-tags" prefix="s"%>
<body>
    <s:form action="upload.action" enctype="multipart/form-data" method="POST">
        <s:textfield name="title" label="标题"/><br>
        <s:file name="upload" label="选择文件"/><br>
        <s:submit name="submit" value="上传文件"/>
    </s:form>
</body>
</html>
